+2005-06-09 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtktextbtree.c (_gtk_text_btree_char_is_invisible): Small
+ cleanup. (#305539, Paolo Borelli)
+
2005-06-09 Rodrigo Moya <rodrigo@novell.com>
* configure.in: added cairo to list of $GTK_PACKAGES.
+2005-06-09 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtktextbtree.c (_gtk_text_btree_char_is_invisible): Small
+ cleanup. (#305539, Paolo Borelli)
+
2005-06-09 Rodrigo Moya <rodrigo@novell.com>
* configure.in: added cairo to list of $GTK_PACKAGES.
+2005-06-09 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtktextbtree.c (_gtk_text_btree_char_is_invisible): Small
+ cleanup. (#305539, Paolo Borelli)
+
2005-06-09 Rodrigo Moya <rodrigo@novell.com>
* configure.in: added cairo to list of $GTK_PACKAGES.
{
gboolean invisible = FALSE; /* if nobody says otherwise, it's visible */
- int deftagCnts[LOTSA_TAGS];
+ int deftagCnts[LOTSA_TAGS] = { 0, };
int *tagCnts = deftagCnts;
GtkTextTag *deftags[LOTSA_TAGS];
GtkTextTag **tags = deftags;
/* almost always avoid malloc, so stay out of system calls */
if (LOTSA_TAGS < numTags)
{
- tagCnts = g_new (int, numTags);
+ tagCnts = g_new0 (int, numTags);
tags = g_new (GtkTextTag*, numTags);
}
- for (i=0; i<numTags; i++)
- {
- tagCnts[i] = 0;
- }
-
/*
* Record tag toggles within the line of indexPtr but preceding
* indexPtr.